//
//  ImageCell.m
//  FastDoctor
//
//  Created by 程建良 on 16/7/8.
//  Copyright © 2016年 sc. All rights reserved.
//

#import "ImageCell.h"

@interface ImageCell ()

@end
@implementation ImageCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self setupUI];
    }
    return self;
}
-(void)setupUI{
    self.headImageView = [[HeadImageView alloc]init];
    [self.contentView addSubview:self.headImageView];
}
-(void)layoutSubviews{
    [super layoutSubviews];
    self.headImageView.frame = CGRectMake(self.frame.size.width-90, 10, 80, 80);
}

@end
